<template>
	<view class="content">
		<image :src="imageUrl+'/job_hunting/home/einfobackground.jpg'" class="bg"></image>
		<view class="msg-box">
			<view class="iconfont icon-shijian-xianxing wait-icon"></view>
			<view class="title">审核中</view>
			<view class="msg">
				您的资料已提交，管理员正在审核中
			</view>
			<view @click="jump" class="btn">返回首页</view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				imageUrl: '',
			}
		},
		methods: {
			jump() {
				this.$store.dispatch('user/getUser')
				uni.switchTab({
					url: '/pages/home/index'
				})
			}
		},
		onLoad(e) {
			this.imageUrl = this.globalConfig.imageUrl;
		}
	}
</script>

<style lang="scss">
	.content {
		width: 100%;

		.bg {
			width: 100%;
			height: 100vh;
			position: absolute;
			top: 0;
		}

		.msg-box {
			position: relative;
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;

			.wait-icon {
				font-size: 120rpx;
				color: #fff;
				margin: 30rpx 0 10rpx 0;
			}

			.title {
				font-size: 32rpx;
				color: #fff;
			}

			.msg {
				font-size: 32rpx;
				font-weight: bold;
				margin-top: 30vh;
			}

			.btn {
				margin-top: 60rpx;
				width: 360rpx;
				height: 80rpx;
				line-height: 80rpx;
				border-radius: 40rpx;
				text-align: center;
				color: #fff;
				background-color: #fe7725;
			}

		}
	}
</style>